/**
 *  后台图片管理接口
 */
import request from '@/utils/request'

export function getImg(params) {
  return request({
    url: '/img/imgshow',
    method: 'get',
    params
  })
}

export function editImg(data) {
  return request({
    url: '/img/edtimg',
    method: 'post',
    data
  })
}

export function delImg(data) {
  return request({
    url: '/img/delimg',
    method: 'post',
    data
  })
}

//轮播图
export function getLunbo(params) {
  return request({
    url: '/img/lunboshow',
    method: 'get',
    params
  })
}

export function lunboCre(data) {
  return request({
    url: '/img/lunbocre',
    method: 'post',
    data
  })
}